package com.example.springboot.controller;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.example.springboot.entity.Order;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class DetailDTO {
    @ApiModelProperty("总订单信息id")
    private Long did;
    @ApiModelProperty("收货人")
    private String consignee;
    @ApiModelProperty("电话")
    private String tel;
    @ApiModelProperty("地址")
    private String address;
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("下单时间")
    private String time;

    List<Order> orderList;
}
